//
//  FruitCore.cpp
//  iFruitGame
//
//  Created by sxz on 2014/12/06.
//  Copyright 2014年 __MyCompanyName__. All rights reserved.
//

#include "FruitCore.h"
#include <iostream>

Sprite * FruitCore::init(Layer *layer)
{
    Size size = Director::getInstance()->getVisibleSize();
    Sprite *buttomBG = Sprite::create("bottom_bg.jpg");
    buttomBG->setPosition(Vec2(size.width / 2, 0 + 300));
    return buttomBG;
}

void FruitCore::initFruit()
{
    for (int i =  0; i < 6 * 6; i++) {
        CCLOG(" >>>> current i : %d", i);
    }
    
    std::cout << arc4random()%(10 + 1) << std::endl;
}

void FruitCore::initTempFruit()
{
    for (int i = 0; i < 6; i++) {
        
    }
}

void FruitCore::refreshFruit()
{
    
}

void FruitCore::refreshBompFruit()
{

}

int FruitCore::getNoRepeatIndex(int index)
{
    //int style  =

    return 0;
}

